package com.passive.lock.service.log;

import java.util.List;
import com.passive.lock.model.vo.TSysLogVo;

public interface SysLogService {
	/**
	 * 添加日志
	 * 
	 */
	int addSysLog(String key,Integer userid,String ids,String username,String logtype,String groupid,Integer count);

	/**
	 * 查询日志列表
	 * 
	 */
	List<TSysLogVo> sysLogList(String groupid, long beginTime, long endTime, String logType, String username,
			int offset, Integer limit) throws Exception;

	/**
	 * 查询日志列表总数
	 * 
	 */
	int sysLogListCount(String groupid, long beginTime, long endTime, String logType, String username) throws Exception;
}
